import javax.swing.*;
import java.net.URL;

public class ImageIconUtil {

    static  ImageIcon createImageIcon(String name){
        URL url = ImageIconUtil.class.getResource(name);
        return new ImageIcon(url);
    }
}
